﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02001145 RID: 4421
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class SetCurWaypointCsReq : IMessage<SetCurWaypointCsReq>, IMessage, IEquatable<SetCurWaypointCsReq>, IDeepCloneable<SetCurWaypointCsReq>, IBufferMessage
	{
		// Token: 0x170037F9 RID: 14329
		// (get) Token: 0x0600C5DC RID: 50652 RVA: 0x00216578 File Offset: 0x00214778
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<SetCurWaypointCsReq> Parser
		{
			get
			{
				return SetCurWaypointCsReq._parser;
			}
		}

		// Token: 0x170037FA RID: 14330
		// (get) Token: 0x0600C5DD RID: 50653 RVA: 0x0021657F File Offset: 0x0021477F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return SetCurWaypointCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170037FB RID: 14331
		// (get) Token: 0x0600C5DE RID: 50654 RVA: 0x00216591 File Offset: 0x00214791
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return SetCurWaypointCsReq.Descriptor;
			}
		}

		// Token: 0x0600C5DF RID: 50655 RVA: 0x00216598 File Offset: 0x00214798
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SetCurWaypointCsReq()
		{
		}

		// Token: 0x0600C5E0 RID: 50656 RVA: 0x002165A0 File Offset: 0x002147A0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SetCurWaypointCsReq(SetCurWaypointCsReq other) : this()
		{
			this.kNPCBCKKKOD_ = other.kNPCBCKKKOD_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600C5E1 RID: 50657 RVA: 0x002165C5 File Offset: 0x002147C5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SetCurWaypointCsReq Clone()
		{
			return new SetCurWaypointCsReq(this);
		}

		// Token: 0x170037FC RID: 14332
		// (get) Token: 0x0600C5E2 RID: 50658 RVA: 0x002165CD File Offset: 0x002147CD
		// (set) Token: 0x0600C5E3 RID: 50659 RVA: 0x002165D5 File Offset: 0x002147D5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint KNPCBCKKKOD
		{
			get
			{
				return this.kNPCBCKKKOD_;
			}
			set
			{
				this.kNPCBCKKKOD_ = value;
			}
		}

		// Token: 0x0600C5E4 RID: 50660 RVA: 0x002165DE File Offset: 0x002147DE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as SetCurWaypointCsReq);
		}

		// Token: 0x0600C5E5 RID: 50661 RVA: 0x002165EC File Offset: 0x002147EC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(SetCurWaypointCsReq other)
		{
			return other != null && (other == this || (this.KNPCBCKKKOD == other.KNPCBCKKKOD && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600C5E6 RID: 50662 RVA: 0x0021661C File Offset: 0x0021481C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.KNPCBCKKKOD != 0U)
			{
				num ^= this.KNPCBCKKKOD.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600C5E7 RID: 50663 RVA: 0x0021665B File Offset: 0x0021485B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600C5E8 RID: 50664 RVA: 0x00216663 File Offset: 0x00214863
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600C5E9 RID: 50665 RVA: 0x0021666C File Offset: 0x0021486C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.KNPCBCKKKOD != 0U)
			{
				output.WriteRawTag(96);
				output.WriteUInt32(this.KNPCBCKKKOD);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600C5EA RID: 50666 RVA: 0x002166A0 File Offset: 0x002148A0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.KNPCBCKKKOD != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.KNPCBCKKKOD);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600C5EB RID: 50667 RVA: 0x002166DE File Offset: 0x002148DE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(SetCurWaypointCsReq other)
		{
			if (other == null)
			{
				return;
			}
			if (other.KNPCBCKKKOD != 0U)
			{
				this.KNPCBCKKKOD = other.KNPCBCKKKOD;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600C5EC RID: 50668 RVA: 0x0021670F File Offset: 0x0021490F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600C5ED RID: 50669 RVA: 0x00216718 File Offset: 0x00214918
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 96U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.KNPCBCKKKOD = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04004FA9 RID: 20393
		private static readonly MessageParser<SetCurWaypointCsReq> _parser = new MessageParser<SetCurWaypointCsReq>(() => new SetCurWaypointCsReq());

		// Token: 0x04004FAA RID: 20394
		private UnknownFieldSet _unknownFields;

		// Token: 0x04004FAB RID: 20395
		public const int KNPCBCKKKODFieldNumber = 12;

		// Token: 0x04004FAC RID: 20396
		private uint kNPCBCKKKOD_;
	}
}
